home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Comm / AmiTCP30b2.lha / src / amitcp / all_includes.h < prev    next >
C/C++ Source or Header  |  1994-02-03  |  4KB  |  187 lines

  1. /* $Id: all_includes.h,v 1.18 1994/02/03 21:25:53 ppessi Exp $
  2.  *
  3.  * This is include file, which includes most of AmiTCP/IP include files
  4.  * for creation of an GST file for SASC.
  5.  *
  6.  * This file must be maintained to be consistent with the project itself
  7.  * (ie. remember to add new include files when they are defined).
  8.  */
  9.  
  10. /*
  11.  * first define preprocessor symbols for include files which must _not_
  12.  * be included. This is mostly because of inline functions defined in 
  13.  * these files, which SASC doesn't like in GST's.
  14.  *
  15.  * Remember to #undef all these at the end, because otherwise they will
  16.  * never be included!
  17.  */
  18. #define SYS_SYSTM_H
  19. #define SYS_MALLOC_H
  20. #define SYS_SYNCH_H
  21. #define AMIGA_API_H
  22. #define AMIGA_INCLUDES_H
  23. #define SANA2REQUEST_H
  24. #define AMIGA_LIBCALLENTRY_H
  25. #define AMIGA_TIME_H
  26. #define AMIGA_SUBR_H
  27.  
  28. /* 
  29.  * Include first configuration information
  30.  *
  31.  * This file does not include any other include files and can be compiled
  32.  * anytime. Include it first for the definitions to be effective during
  33.  * following includes, which may depend on preprocessor symbols defined here.
  34.  */
  35. #include <conf.h>
  36.  
  37. #include <sys/types.h>
  38.  
  39. #if __SASC
  40. #define USE_BUILTIN_MATH
  41. #ifndef _STRING_H
  42. #include <string.h>
  43. #endif
  44. #endif
  45.  
  46. /*
  47.  * sys/param.h includes basic information about system and C-compiler
  48.  * environment.  It also contains for example incomplete structure
  49.  * definitions for all prototype files in protos/ (structure pointers
  50.  * only).  This is why this file must be included first, since SASC
  51.  * don't like incomplete declarations _after_ complete ones.
  52.  */
  53. #include <sys/param.h>
  54.  
  55. /*
  56.  * following files are included instead of #include <kern/amiga_includes.h>
  57.  */
  58. #ifndef EXEC_TYPES_H
  59. #include <exec/types.h>
  60. #endif
  61.  
  62. #ifndef EXEC_LISTS_H
  63. #include <exec/lists.h>
  64. #endif
  65.  
  66. #ifndef EXEC_MEMORY_H
  67. #include <exec/memory.h>
  68. #endif
  69.  
  70. #ifndef EXEC_SEMAPHORES_H
  71. #include <exec/semaphores.h>
  72. #endif
  73.  
  74. #ifndef EXEC_LIBRARIES_H
  75. #include <exec/libraries.h>
  76. #endif
  77.  
  78. #ifndef EXEC_DEVICES_H
  79. #include <exec/devices.h>
  80. #endif
  81.  
  82. #ifndef EXEC_EXECBASE_H
  83. #include <exec/execbase.h>
  84. #endif
  85.  
  86. #ifndef DEVICES_TIMER_H
  87. #include <devices/timer.h>
  88. #endif
  89.  
  90. #ifndef DOS_DOS_H
  91. #include <dos/dos.h>
  92. #endif
  93.  
  94. #ifndef SYS_CDEFS_H
  95. #include <sys/cdefs.h>
  96. #endif
  97.  
  98. #ifndef CLIB_EXEC_PROTOS_H
  99. #include <clib/exec_protos.h>
  100. #endif
  101. extern struct ExecBase *SysBase;
  102. #include <pragmas/exec_sysbase_pragmas.h>
  103.  
  104. #ifndef PROTO_TIMER_H
  105. #include <proto/timer.h>
  106. #endif
  107.  
  108. /*
  109.  * undef math log, because it conflicts with log() used for logging.
  110.  */
  111. #undef log
  112.  
  113. #include <sys/time.h>
  114. #include <sys/uio.h>
  115. /* #include <sys/systm.h>  commented bacause of inline functions*/
  116.  
  117. #include <sys/errno.h>
  118. #include <sys/ioctl.h>
  119. #include <sys/kernel.h>
  120. /* #include <sys/malloc.h> */
  121. #include <sys/mbuf.h>
  122. #include <sys/queue.h>
  123. #include <sys/domain.h>
  124. #include <sys/protosw.h>
  125. #include <sys/socket.h>
  126. #include <sys/socketvar.h>
  127. /* #include <sys/synch.h> */
  128. #include <sys/syslog.h>
  129.  
  130. #include <net/if.h>
  131. #include <net/netisr.h>
  132. #include <net/if_types.h>
  133. #include <net/raw_cb.h>
  134. #include <net/radix.h>
  135. #include <net/route.h>
  136. #include <net/sana2config.h>
  137. /* #include <net/sana2request.h> */
  138.  
  139. #include <netinet/in_systm.h>
  140. #include <netinet/in.h>
  141. #include <netinet/ip.h>
  142.  
  143. #include <netinet/ip_var.h>
  144. #include <netinet/ip_icmp.h>
  145. #include <netinet/icmp_var.h>
  146.  
  147. #include <netinet/in_pcb.h>
  148. #include <netinet/in_var.h>
  149.  
  150. #include <net/if_arp.h>
  151. #include <net/sana2arp.h>
  152. #include <net/if_sana.h>
  153. #include <net/sana2tags.h>
  154.  
  155. #include <netinet/tcp.h>
  156. #include <netinet/tcp_timer.h>
  157. #include <netinet/tcp_var.h>
  158. #include <netinet/tcpip.h>
  159. #include <netinet/tcp_fsm.h>
  160. #include <netinet/tcp_seq.h>
  161. #include <netinet/tcp_debug.h>
  162.  
  163. #include <netinet/udp.h>
  164. #include <netinet/udp_var.h>
  165.  
  166. #include <api/amiga_raf.h>
  167. /* #include <api/amiga_api.h> */
  168. /* #include <api/amiga_libcallentry.h> */
  169. #include <kern/amiga_log.h>
  170. /* #include <kern/amiga_subr.h> */
  171. /* #include <kern/amiga_time.h> */
  172.  
  173. #include <ctype.h>
  174. #include <signal.h>
  175. #include <stdarg.h>
  176. #include <limits.h>
  177.  
  178. #undef AMIGA_SUBR_H
  179. #undef SYS_SYSTM_H
  180. #undef SYS_MALLOC_H
  181. #undef SYS_SYNCH_H
  182. #undef AMIGA_API_H
  183. #undef AMIGA_INCLUDES_H
  184. #undef SANA2REQUEST_H
  185. #undef AMIGA_LIBCALLENTRY_H
  186. #undef AMIGA_TIME_H
  187.